ipv6 route
Syntax
ipv6 route [ vrf vrfName ] prefix { nextHop | interfaceType
interfaceSpecifier }
[ distance ] [ reject | discard ][ tag tagVal ]
no ipv6 route [ vrf vrfName ] prefix [ nextHop | interfaceType
interfaceSpecifier ]
[ distance ]
Release Information
Command introduced before JunosE Release
7.1.0.
vrf keyword and vrfName variable added in JunosE Release 7.2.0.
reject and discard keywords added in JunosE Release 12.0.0.
tag keyword and tagVal variable
added in JunosE Release 12.3.0.
Description
Configures a static IPv6 prefix route. The no version removes a static IPv6 prefix route.
Options
- vrfName—Name of the VRF; string of 1–32 alphanumeric characters
- prefix—Combination of both a prefix and prefix length (mask) value. The prefix (IP address or network) defines the IPv6 interface or network. The prefix (mask) length of the IPv6 prefix is a decimal value that indicates how many of the high-order contiguous bits of the address comprise the prefix (the network portion of the address). A slash mark must precede the decimal value. An example of a prefix would be “ 7fff::0/16” , “ 7fff::0/32” , “ 7fff:2:3::0/24” , or “ 7fff::1/128” .
- nextHop—IPv6 address of the next-hop to reach the destination prefix (network). The next-hop address need not be directly connected; recursion locates the physical next-hop.
- interfaceType—Interface type; see Interface Types and Specifiers
- interfaceSpecifier—Particular interface; format varies according to interface type; see Interface Types and Specifiers
- distance—Preference value for the IPv6 route. A default value of 1 gives static routes precedence over any other type of route (with the exception of connected routes).
- reject—Discards packets received on the static route for the specified interface that are not processed by the router and sends ICMP unreachable messages to the originator. This option is available only for null interfaces
- discard—Discards packets received on the static route for the specified interface that are not processed by the router and does not send ICMP unreachable messages to the originator. This option is available only for null interfaces
- tagVal—Number in the range 0–4294967295 that identifies the tag for this route; default value is 0
Mode
Global Configuration
Hide Navigation Pane
Show Navigation Pane
SHA1